import Vue from 'vue';
import Router from 'vue-router';
import loginTwo from '@/views/login/loginTwo';
import AdaHome from '@/views/index/AdaHome';
import StuHome from '@/views/index/StuHome';
import ViewHomework from '@/views/content/ViewHomework';
import ViewNotice from '@/views/content/ViewNotice';
import AdaCreateNotice from '@/views/create/AdaCreateNotice';
import TrashBin from '@/views/bin/TrashBin';
import AdaCreateHomework from '@/views/create/AdaCreateHomework';
import StuInfo from '@/views/PersonInfo/StuInfo';
import AdaQuestion from '@/views/Question/AdaQuestion';
import StuQuestion from '@/views/Question/StuQuestion';
import AdaEditNotice from '@/views/create/AdaEditNotice';
import AdaEditHomework from '@/views/create/AdaEditHomework';

Vue.use(Router);

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'login',
    //   component: login,
    // },
    {
      path: '/',
      name: 'loginTwo',
      component: loginTwo,
    },
    {
      path: '/AdaHome',
      name: 'AdaHome',
      component: AdaHome,
    },
    {
      path: '/StuHome',
      name: 'StuHome',
      component: StuHome,
    },
    {
      path: '/ViewHomework',
      name: 'ViewHomework',
      component: ViewHomework,
    },
    {
      path: '/ViewNotice',
      name: 'ViewNotice',
      component: ViewNotice,
    },
    {
      path: '/TrashBin',
      name: 'TrashBin',
      component: TrashBin,
    },
    {
      path: '/AdaCreateNotice',
      name: 'AdaCreateNotice',
      component: AdaCreateNotice,
    },
    {
      path: '/AdaCreateHomework',
      name: 'AdaCreateHomework',
      component: AdaCreateHomework,
    },
    {
      path: '/StuInfo',
      name: 'StuInfo',
      component: StuInfo,
    },
    {
      path: '/StuQuestion',
      name: 'StuQuestion',
      component: StuQuestion,
    },
    {
      path: '/AdaQuestion',
      name: 'AdaQuestion',
      component: AdaQuestion,
    },
    {
      path: '/AdaEditNotice',
      name: 'AdaEditNotice',
      component: AdaEditNotice,
    },
    {
      path: '/AdaEditHomework',
      name: 'AdaEditHomework',
      component: AdaEditHomework,
    },
  ],
});
